﻿<ListBoxItem x:Class="OP.Notes.Controls.ucNotebookTitle"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" Cursor="Hand">
    <StackPanel Name="itemNotebook" Orientation="Horizontal" >
        <Image Source="/Images/16/book.png" Margin="0,0,4,0" Stretch="None" />
        <TextBox Name="txtTitle" Style="{StaticResource NbTitleInputStyle}" Text="[Title]" SelectionChanged="txtTitle_SelectionChanged" GotFocus="txtTitle_GotFocus" LostFocus="txtTitle_LostFocus" KeyUp="txtTitle_KeyUp" MouseDoubleClick="txtTitle_MouseDoubleClick"/>
        <Label Name="lblModified" Padding="0">*</Label>
        <Image Source="/Images/16/cross-small.png" Margin="10,0,0,0" Name="imgDelete" Stretch="None" ToolTip="Delete notebook" Visibility="Hidden" MouseUp="imgDelete_MouseUp"/>
    </StackPanel>
</ListBoxItem>
